package com.lv.mall.member.feign;

import com.lv.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 吕经宇
 * @create 2021-10-13 8:52
 * 这是一个声明式的远程调用
 */
@FeignClient("mall-coupon") // 远程客户端 调用远程服务
@Component
public interface CouponFeignService {

    @RequestMapping("/coupon/coupon/member/list")
    public R membercoupons();


}
